#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui>
class ImageItem;
class MenuButton;

class MainWindow : public QGraphicsView
{
    Q_OBJECT
public:
    explicit MainWindow(const QSize &minSize);

signals:

private slots:
    void showMainMenu();
    void menuButtonClicked(MenuButton *button);

private:
    QGraphicsWidget *root;
    ImageItem *logoInMenu;
    MenuButton *buttonLevel;
    MenuButton *buttonEditor;
    MenuButton *buttonOption;
    MenuButton *buttonAbout;
    MenuButton *buttonExit;

    void initResources();
    void initScene(const QSize &minSize);
    void initEventSystem();
//    void mousePressEvent(QMouseEvent *event);
};

#endif // MAINWINDOW_H
